<? $this->response->setStatus(Response::SC_INTERNAL_SERVER_ERROR); ?>
<?=$this->header()?>

    <div id="content">

    <h1 class="error"><?=$this->message("error.500.header")?></h1>

    <textarea style="width:90%;height:300px;margin-left:20px;">
[Exception]:

Message: <?=htmlspecialchars($this->request->getAttribute(MVC::EXCEPTION_KEY)->getMessage())?>

File: <?=htmlspecialchars($this->request->getAttribute(MVC::EXCEPTION_KEY)->getFile())?>

Line: <?=htmlspecialchars($this->request->getAttribute(MVC::EXCEPTION_KEY)->getLine())?>

Trace:
<?=htmlspecialchars($this->request->getAttribute(MVC::EXCEPTION_KEY)->getTraceAsString())?>


<?=$this->request->getAttribute(MVC::MAPPING_KEY)?>


<?=$this->request?>


<?=print_r($_SESSION)?>

    </textarea>

    </div>

<?=$this->footer()?>